//
//  HJGroupMemberModel.h
//  KaiChat
//
//  Created by lx on 2023/11/2.
//

#import <Foundation/Foundation.h>
#import "HJChatFriendModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HJGroupMemberModel : NSObject

@property (nonatomic, assign) BOOL isSelect;
@property (nonatomic, copy) NSString *groupId;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, assign) NSInteger role;
@property (nonatomic, assign) BOOL isLookInfo;
@property (nonatomic, strong, nullable) NSAttributedString *nicknameAttributedstring;

@property (nonatomic, strong) NSString *sectionIdentifier;

@property (nonatomic, strong, readonly) NSString *identifier;

+ (HJGroupMemberModel *)modelWithDict:(NSDictionary *)dict;
+ (HJGroupMemberModel *)modelWithFridendModel:(HJChatFriendModel *)fridendModel;

+ (NSString *)bg_tableNameWithGroupId:(NSString *)groupId;

+ (HJGroupMemberModel *)addModel;
+ (HJGroupMemberModel *)removeModel;


@end

NS_ASSUME_NONNULL_END
